<?php
require_once('App-Top.php');
////require_once('Cookie-Handler.php'); //// Only Activate in UNProtected Area
require_once('Authorizer.php'); //// Only Activate in Protected Area
require_once('FEFunctions.php');
//// LogOut.php
//// This is the Log Out page for the WOG site.
//// Set Page Title
$page_title = 'Log Out -  Whiff Of Grape';

// Remove information about Log In / Member
if (isset($_SESSION['SESS_USER_EMAIL_FE_ID'])) { unset($_SESSION['SESS_USER_EMAIL_FE_ID']); }
if (isset($_SESSION['SESS_USER_PAID_FE_ID'])) { unset($_SESSION['SESS_USER_PAID_FE_ID']); }
if (isset($_SESSION['SESS_USER_FNAME_FE_ID'])) { unset($_SESSION['SESS_USER_FNAME_FE_ID']); }

// Check for Cookie
if (isset($_COOKIE['wog_cookie_SESS_USER_EMAIL_FE_ID'])) { setcookie('wog_cookie_SESS_USER_EMAIL_FE_ID', '' , 0); }

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo $page_title; ?></title>
        <style type="text/css" media="screen">@import url(style.css);</style>
    </head>

    <body>
        <div id="bigWrapper">

            <div id="wrapper">

                <div id="header">
                </div>

                <div id="sidebar">

                <?php
                require_once('MenuLeft.php');
                ?>

                </div>

                <!-- End of Header & Start Content -->

                <div id="body">

                    <div id="entryTitlePage"><?php echo $page_title; ?></div>

                    <p class='entrybodybold'>Dear Member,</p>
                    <p class='entrybody'>You are now Logged Out.</p>

                </div> <!-- Closes body -->
                <!-- End of Content & Start Footer -->

                <div id="footer">

                    <?php
                    //// Includer Footer
                    include ('footer.php');
                    ?>

                </div>

                </div> <!-- Closes Wrapper -->
            </div> <!-- Closes bigWrapper -->
        </body>
    </html>
<?php
require_once('App-End.php');
?>

<!-- Designed & Developed By Jose Trujillo (2011) -->